package com.jd.jr.insights.dm.dim.util.fastjson.tree;

/**
 * Created by Administrator on 2017/7/22.
 */
public enum ResultCode {

    OK(1, "成功"),

    ERROT(0, "失败");
    public int code;
    public String name;

    private ResultCode(int code, String name) {
        this.code = code;
        this.name = name;
    }


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
